package com.yxch.admin.service.comment;

import com.yxch.admin.model.commen.AuditLog;
import com.yxch.admin.model.comment.*;
import com.yxch.admin.utils.ResultAPI;

import java.util.List;

public interface CommentService {

    ResultAPI getPosts(PostDTO postDTO);

    ResultAPI getPostById(Integer postId);

    ResultAPI postAudit(AuditLog auditLog);

    ResultAPI getBanword(Integer pageSize, Integer pageNum);

    ResultAPI getComments(CommentDTO commentDTO);

    ResultAPI addorUpdateBanword(BanWord banWord);

    ResultAPI deleteBanword(List<Integer> ids);

    ResultAPI deleteComments(List<Integer> ids);

    ResultAPI updateTop(PostTop postTop);

    void addPost(PostAdd postAdd);

    void deletePost(List<Integer> ids);
}
